import request from '@/utils/request'

// 查询GeneralUserBlacklist列表
export function listGeneralUserBlacklist(query) {
return request({
url: '/api/v1/generalUserBlacklistList',
method: 'get',
params: query
})
}

// 查询GeneralUserBlacklist详细
export function getGeneralUserBlacklist (blacklistId) {
return request({
url: '/api/v1/generalUserBlacklist/' + blacklistId,
method: 'get'
})
}


// 新增GeneralUserBlacklist
export function addGeneralUserBlacklist(data) {
return request({
url: '/api/v1/generalUserBlacklist',
method: 'post',
data: data
})
}

// 修改GeneralUserBlacklist
export function updateGeneralUserBlacklist(data) {
return request({
url: '/api/v1/generalUserBlacklist',
method: 'put',
data: data
})
}

// 删除GeneralUserBlacklist
export function delGeneralUserBlacklist(blacklistId) {
return request({
url: '/api/v1/generalUserBlacklist/' + blacklistId,
method: 'delete'
})
}